Skip to contentSkip to conversation

Hang of the graphics driver and assertion on si_upload_vertex_buffer_descriptors

Bug 109693 [email protected] 1 participant 4 messages Feb 20, 2019 – Jun 17, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109693

Bug ID: 109693
Summary: Hang of the graphics driver and assertion on
si_upload_vertex_buffer_descriptors
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 143420
--> https://bugs.freedesktop.org/attachment.cgi?id=143420&action=edit
glxinfo output

After this [1] commit, the GL tests we have on gstreamer started to causing a hang in my machine (Gstreamer issue [2]). I was running mesa 18.2.8 and it was constantly hanging upon running those specific tests. Once I upgraded to mesa 18.3.3 half the times it hangs and the other half it hits the following assertion. Compiling and running against mesa 19.0 rc5 didn't change things.

pipelines_gl_launch_lines:
../src/gallium/drivers/radeonsi/si_descriptors.c:1150:
si_upload_vertex_buffer_descriptors: Assertion `num_records >= 0 && num_records <= UINT_MAX' failed.

the whole log is [here] [3]

To reproduce you can run the following:

```
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
cd gst-build
meson build -Dintrospection=disabled -Dgtk_doc=disabled -Dexamples=disabled
-Dsharp=disabled
ninja -C build/
./gst-uninstalled.py gst-validate-launcher check.gst-plugins-base.pipelines_gl*
-fs --mute --dump-on-failure --no-display --meson-no-rebuild -M
"/tmp/validate-output/"
```

gpu info:

lspci -v
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c3) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 3801
Flags: bus master, fast devsel, latency 0, IRQ 71
Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at 1000 [size=256]
Memory at d0600000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu

➜ glxinfo | grep 'OpenGL vendor'
OpenGL vendor string: X.Org

[1]:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/acc098a736949d465d7f77e5de94a75627209147
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543
[3]:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543#note_121059

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109693

--- Comment #1 from Tim Müller <[email protected]> ---
Would be great if someone could take a look at this, as it might affect more users once the next GStreamer stable release is out.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109693

--- Comment #2 from Kamil Páral <[email protected]> --- This issue seems to be causing crashes when playing Half-Life 2:
https://github.com/ValveSoftware/steam-for-linux/issues/6104#issuecomment-466681701

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109693

Pierre-Eric Pelloux-Prayer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #3 from Pierre-Eric Pelloux-Prayer <[email protected]> --- The issue was a problem in gst code and was fixed in their code (see
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543#note_175823)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel